<template>
  <div id="app">
    <Header />
    <div class="marginTop">
      <router-view />
    </div>
  </div>
</template>
<script>
import Header from "./components/header";
export default {
  components: {
    Header,
  },
  created() {
    document.title = this.$route.meta.title;
  },
  watch: {
    $route: function () {
      document.title = this.$route.meta.title;
    },
  },
};
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

.marginTop{
  margin-top: 130px;
}
</style>
